JMIdle
Allows JManager time to service other threads.
OSStatus JMIdle(JMSessionRef session, UInt32 jmTimeMillis);
session
- The current session.
JMTimeMillis
- The amount of time, in milliseconds, allowed to service other threads. For the default wait period, you can set this parameter to
kDefaultJMTime
.- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
If no threads need to be serviced,JMIdle
returns immediately.JMIdle
also returns (suspending other threads) if a user event occurs in the current session. You should call theJMIdle
function once each time through the event loop.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help